.sz-attendance-container {
    // 个人信息
    .profile-header-wrap {
        position: relative;
        height: initial;
        &::before {
            @extend %pseudo-classes-border;
            background: #e6e6e6;
            transform-origin: center bottom;
            transform: scaleY(0.5);
            z-index: 100;
        }
    }
    .profile-header {
        background: #fff;
        padding: 10px 15px;
        img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            vertical-align: middle;
        }
        span {
            line-height: 44px;
            vertical-align: middle;
        }
        .icon {
            color: #9B9B9B;
            font-size: 10px;
        }
        .icon.calendar {
            font-size: 15px;
        }
    }
    .Profile-attendance {
        height: calc(100% - 74px);
        position: relative;
        // 白色背景:解决2px的浏览器bug
        background: #fff;
        .attendance-switchTab {
            margin-top: 10px;
            font-size: 0;
            background: #fff;
            box-sizing: border-box;
            padding: 0 4%;
            position: relative;
            &::after {
                @extend %pseudo-classes-border;
                background: #e6e6e6;
            }
            ul {
                font-size: 0;
                margin: 0 auto;
                width: 100%;
                li {
                    font-size: 16px;
                    float: left;
                    width: 20%;
                    box-sizing: border-box;
                    text-align: center;
                    padding: 14px 10px;
                    position: relative;
                    cursor: pointer;
                    &.active {
                        &::after {
                            content: "";
                            width: 100%;
                            height: 2px;
                            background: #00a0ff;
                            position: absolute;
                            bottom: 0px;
                            left: 0;
                            z-index: 10;
                            transform-origin: center center;
                            transform: scaleX(0.8);
                        }
                    }
                    a {
                        display: block;
                        text-decoration: none;
                        em {
                            font-style: normal;
                            font-size: 18px;
                            line-height: 1;
                            color: #00A0FF;
                            @include small {
                                font-size: 16px;
                            }
                        }
                        span {
                            font-size: 12px;
                            display: block;
                            margin-top: 6px;
                            color: #000;
                        }
                    }
                }
                // 异常文字为红色
                li {
                    &:nth-last-of-type(3) {
                        em {
                            color: #F93B18;
                        }
                    }
                    &:nth-last-of-type(4) {
                        em {
                            color: #F93B18;
                        }
                    }
                }
                // 圆形展示条
                li {
                    &:last-of-type {
                        cursor: default;
                        $circleSize: 36px;
                        padding-left: 0px;
                        padding-right: 0px;
                        padding-top: 10px;
                        padding-bottom: 0px;
                        display: inline-block;
                        height: 100%;
                        span {
                            margin-top: 2px;
                            color: #000;
                            font-size: 12px;
                        }
                        .circular-wrap {
                            width: $circleSize;
                            height: $circleSize;
                            border-radius: 50%;
                            background: #ddd;
                            margin: 0 auto;
                            position: relative;
                            .left-half {
                                position: absolute;
                                top: 0;
                                left: 0;
                                width: 50%;
                                bottom: 0;
                                // background: yellowgreen;
                                overflow: hidden;
                                z-index: 2;
                                .inner {
                                    width: $circleSize;
                                    height: $circleSize;
                                    border-radius: 50%;
                                    position: absolute;
                                    left: 0;
                                    top: 0;
                                    transform: rotate(135deg);
                                    box-sizing: border-box;
                                    border: 3px solid #73A7F9;
                                    // border: 3px solid red;
                                    border-bottom-color: transparent;
                                    border-right-color: transparent;
                                }
                            }
                            .right-half {
                                position: absolute;
                                top: 0;
                                right: 0;
                                width: 50%;
                                bottom: 0;
                                overflow: hidden;
                                z-index: 1;
                                .inner {
                                    width: $circleSize;
                                    height: $circleSize;
                                    border-radius: 50%;
                                    position: absolute;
                                    right: 0;
                                    top: 0;
                                    transform: rotate(45deg);
                                    box-sizing: border-box;
                                    border: 3px solid #73A7F9;
                                    border-top-color: transparent;
                                    border-right-color: transparent;
                                }
                            }
                            #mask {
                                width: $circleSize - 6px;
                                height: $circleSize - 6px;
                                border-radius: 50%;
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                background: #fff;
                                transform: translate(-50%, -50%);
                                font-size: 14px;
                                color: #73A7F9;
                                line-height: $circleSize - 6px;
                                text-align: center;
                            }
                        }
                    }
                }
            }
        }
        .attendance-content-wrap {
            height: calc(100% - 73px);
            overflow: auto;
            box-sizing: border-box;
            padding: 16px 4% 0;
            -webkit-overflow-scrolling: touch;
            background: #fff;
            position: relative;
            ul {
                .timeStamp {
                    margin-bottom: 10px;
                }
                .day {
                    color: #4A4A4A;
                    font-size: 24px;
                    font-weight: bold;
                    @include small {
                        font-size: 22px;
                    }
                    em {
                        font-size: 18px;
                        font-style: normal;
                        @include small {
                            font-size: 16px;
                        }
                        &::before {
                            content: "/";
                            position: relative;
                            left: -4px;
                        }
                    }
                }
                .week {
                    color: #4A4A4A;
                    font-size: 12px;
                    // margin-left: 6px;
                }
                .record {
                    color: #4A4A4A;
                    font-size: 12px;
                }
                li {
                    margin-bottom: 30px;
                    padding-left: 15px;
                    position: relative;
                    font-size: 16px;
                    @include small {
                        font-size: 12px;
                    }
                    .dot {
                        position: absolute;
                        top: 9px;
                        left: 0;
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        background-color: #CCCCCC;
                        z-index: 100;
                        @include small {
                            width: 6px;
                            height: 6px;
                        }
                    }
                    .clockInOut {
                        color: #39393A;
                        vertical-align: middle;
                        strong {
                            font-weight: normal;
                            margin-right: 5px;
                            i {
                                color: #FD9C6A;
                                font-style: normal;
                            }
                        }
                    }
                    .commuterTime {
                        color: #898989;
                        font-style: normal;
                        font-size: 13px;
                        vertical-align: middle;
                    }
                    .abnormal {
                        color: #F93B18;
                        border: 1px solid #F93B18;
                        display: inline-block;
                        padding: 2px 4px;
                        font-size: 10px;
                        line-height: 1;
                        font-style: normal;
                        border-radius: 2px;
                        // position: relative;
                        // top: 0px;
                        margin-left: 6px;
                        // transform: scale(0.9);
                    }
                    .outwork {
                        color: #35DBC4;
                        border: 1px solid #35DBC4;
                        display: inline-block;
                        padding: 2px 4px;
                        font-size: 10px;
                        line-height: 1;
                        font-style: normal;
                        border-radius: 2px;
                        // position: relative;
                        // top: 0px;
                        margin-left: 6px;
                        // transform: scale(0.9);
                    }
                    .companyAddress {
                        color: #000000;
                        font-size: 13px;
                        margin-top: 5px;
                    }
                    .locationAddress {
                        color: #898989;
                        font-size: 13px;
                        margin-top: 5px;
                        padding-left: 10px;
                        position: relative;
                        .icon {
                            // position: relative;
                            position: absolute;
                            top: 2px;
                            left: -3px;
                            width: 14px;
                        }
                    }
                    img {
                        display: block;
                        width: 100px;
                        margin-top: 10px;
                        margin-bottom: 10px;
                    }
                    .correct {
                        display: inline-block;
                        color: #3F78B8;
                        font-size: 12px;
                        margin-right: 30px;
                        margin-top: 10px;
                    }
                    .state {
                        color: #FF965C;
                        font-size: 10px;
                        line-height: 1;
                        border-radius: 2px;
                        border: 1px solid #FF965C;
                        padding: 2px 4px;
                        display: inline-block;
                        margin-top: 10px;
                    }
                    .remarks {
                        font-size: 13px;
                        color: #9B9B9B;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        margin: 10px 0;
                        em {
                            color: #4A4A4A;
                        }
                    }
                    .taskLink {
                        margin-top: 10px;
                        padding: 6px 0 6px 50px;
                        background: #F5F5F5;
                        position: relative;
                        margin-right: 20px;
                        box-sizing: border-box;
                        p {
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }
                        .task {
                            font-size: 14px;
                            color: #000000;
                        }
                        .title {
                            font-size: 11px;
                            color: #9B9B9B;
                        }
                        .icon {
                            position: absolute;
                            top: 50%;
                            left: 10px;
                            width: 30px;
                            height: 30px;
                            transform: translateY(-50%);
                        }
                    }
                }
            }
            // 自由工时
            .freeTimeWork {
                .correct {
                    display: inline-block;
                    color: #3F78B8;
                    font-size: 16px;
                    margin-top: 10px;
                    display: inline-block;
                    margin-left: 15px;
                    @include small {
                        margin-left: 0;
                        font-size: 14px;
                    }
                }
                .record {
                    color: #4A4A4A;
                    font-size: 16px;
                    margin-top: 10px;
                    display: inline-block;
                    margin-left: 5px;
                    @include small {
                        margin-left: 0;
                        font-size: 14px;
                    }
                }
                li {
                    .correct {
                        font-size: 12px;
                        margin-right: 30px;
                        margin-top: 10px;
                        margin-left: 0;
                    }
                    b {
                        color: #9B9B9B;
                        font-size: 14px;
                        display: inline-block;
                        margin-left: 6px;
                        font-weight: normal;
                        @include small {
                            font-size: 12px;
                        }
                    }
                    em.catchTime {
                        display: block;
                        color: #9B9B9B;
                        font-size: 12px;
                        margin-top: 5px;
                    }
                }
            }
        }
    }
}